export default [
  {icon: 'desktop', auth: 'admin', title: '工作台', path: '/home'},
  {icon: 'appstore', auth: 'order.order.view', title: '订单管理', path: '/order'},
  {
    title: '课程管理',
    icon: 'read',
    auth: 'course.course.view',
    child: [
      {
        title: '课程大类',
        auth: 'course.category.view',
        path: '/course/category'
      },
      {
        title: '课程内容',
        auth: 'course.course.view',
        path: '/course/list'
      }
    ]
  },
  // {icon: 'user', auth: "student.student.view", title: '学员管理', path: '/student'},
  {
    icon: 'user', auth: "system.account.view|system.role.view", title: '用户管理', child: [
      {title: '系统账户', auth: 'system.account.view', path: '/account/user'},
      {title: '角色权限', auth: 'system.role.view', path: '/account/role'},
    ]
  },
]
